package com.sudu.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel("关注实体类")
@TableName("t_attention")
public class Attention {
    @ApiModelProperty("关注id")
    private  Integer fid;
    @ApiModelProperty("关注用户id")
    private Integer uid ;
    @ApiModelProperty("被关注用户id")
    private Integer likeId ;
    @ApiModelProperty("创建时间")
    @JsonFormat(shape = JsonFormat.Shape.STRING,pattern = "yyyy-MM-dd hh:mm:ss" , timezone="GMT+8")
    private Date createTime ;
    @ApiModelProperty("逻辑删除")
    private int isDelete ;
}
